package day08.thread02.priority;

/**
 * <>
 * <详细描述>
 *
 * @Author WANG.SONG.
 * @Date 2019/3/3 0003 22:52
 * @see
 */
public class PriorityTest {

    /**
     *<线程优先级具有继承性，如A线程启动B线程，则B线程优先级与A一致>
     *@param
     *
     *@return
     *@Author WANG.SONG.
     */
    public static void priorityExtends(){

        PriotityThread1 thread1=new PriotityThread1();
        thread1.setPriority(7);
        thread1.start();
    }

    public static void main(String[] args) {

        PriorityTest.priorityExtends();
    }
}
